-- GENERATED SPELL FOR [Redpath Militia] --


function spell0_10950(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10950', 691, 1)
end

function Sorts_10950(pUnit, Event)
local choix_sorts_10950 = math.random(0, 0)
if choix_sorts_10950 == 0 then
pUnit:RegisterEvent('spell0_10950', 1, 1)
end
end

function mob10950_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10950', math.random(1500, 3000), 1)
end

function mob10950_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10950_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10950_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10950, 1, 'mob10950_Action')
RegisterUnitEvent(10950, 2, 'mob10950_Leave')
RegisterUnitEvent(10950, 3, 'mob10950_Kill')
RegisterUnitEvent(10950, 4, 'mob10950_Die')
